package com.pro.common.api.user.file.model.request;

import com.pro.common.api.user.file.model.request.sub. UserFileBatchImportItem;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Schema(description = "批量上传url类型的文件请求")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserFileBatchImportRequest {

    @Schema(description = "逻辑目录可能不存在_内部自动创建")
    private String moduleName;

    @Schema(description = "指定用户上传")
    private Long userId;

    @Schema(description = "指定目录上传") // parentFolderId 或者 moduleName + userId
    private Long parentFolderId;

    private List<UserFileBatchImportItem> items;
}